<html>
<body>
<font face="verdana" size="-1">
This inspection reports method calls to parameterized collections, where actual argument type does not
correspond to the collection's elements type.<br><br>
For example if you have the following code:<br>
</font>
<pre>
&nbsp;&nbsp;&nbsp;&nbsp;List&lt;Integer&gt; list = getListOfElements();
&nbsp;&nbsp;&nbsp;&nbsp;list.remove("");
</pre>
<font face="verdana" size="-1">
- the call to <b><font color="#000080">remove()</font></b> will be highlighted.<br>
</font>

<p>
  <font face="verdana" size="-1">
  The option '<b>Report suspicious but possibly correct method calls</b>' makes it possible to ignore
  potentially correct code, like this:<br>
  </font>

  <pre>
&nbsp;&nbsp;&nbsp;&nbsp;Number number = <b><font color="#000080">new</font></b> Integer(<font color="#0000FF">0</font>);
&nbsp;&nbsp;&nbsp;&nbsp;list.remove(number));
  </pre>

</body>
</html>
